/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
  color: #1f2b3a;
  line-height: 1.5;
}

/* ===== COLOR PALETTE ===== */
:root {
  --primary: #0a3147;        /* deep navy – trust, medical */
  --primary-light: #1f4b6e;
  --secondary: #2f8e9e;      /* teal accent – health, fresh */
  --accent: #57b8c9;
  --light-bg: #f4f9fc;
  --gray-soft: #e6edf2;
  --text-dark: #122231;
  --text-muted: #3e5569;
  --white: #ffffff;
  --border-light: #cbd8e3;
}

/* ===== TYPOGRAPHY & LINKS ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--secondary);
  margin-top: 0.5rem;
  border-radius: 4px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0,20,30,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  background: var(--primary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transform: rotate(10deg);
  transition: 0.2s;
}

.logo-text h1 {
  font-size: 1.7rem;
  margin: 0;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.logo-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a {
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.nav-links a:hover {
  border-bottom-color: var(--secondary);
  color: var(--primary-light);
}

.btn-contact {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  transition: 0.2s;
  box-shadow: 0 4px 8px rgba(15, 60, 80, 0.2);
}

.btn-contact:hover {
  background: var(--primary-light);
  transform: scale(1.02);
}


/* ===== GLOBAL SECTIONS ===== */
section {
  padding: 4.5rem 0;
}

.section-light {
  background: var(--light-bg);
}

.section-white {
  background: var(--white);
}


/* ===== PAGE TITLE / BREADCRUMB ===== */
.page-title-bar {
    background: linear-gradient(135deg, #f0f7fc 0%, #ffffff 100%);
    padding: 28px 0 20px;
}

.page-title-bar h2 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #0b3b5a;
    margin-bottom: 6px;
}

.page-title-bar .breadcrumb {
    color: #4f6f87;
    font-size: 0.95rem;
}

.breadcrumb span {
    color: #0077b6;
    font-weight: 500;
}

/* ===== SERVICES INTRO ===== */
.services-intro {
    padding: 40px 0 16px;
}

.services-intro .lead {
    font-size: 1.2rem;
    max-width: 900px;
    color: #255470;
    border-left: 5px solid #0077b6;
    padding-left: 28px;
    margin-bottom: 30px;
    background: #f2f8ff;
    padding: 20px 28px;
    border-radius: 0 40px 40px 0;
}

/* ===== SERVICES GRID (main content) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 24px 0 48px;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 28px 22px 32px;
    box-shadow: 0 12px 26px -8px rgba(20, 60, 100, 0.12);
    transition: transform 0.2s, box-shadow 0.3s;
    border: 1px solid #e5f0f7;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 36px -12px rgba(0, 100, 150, 0.25);
    border-color: #b8d9f0;
}

.service-icon {
    background-color: #ecf5fb;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #0077b6;
    font-size: 32px;
}

.service-card h3 {
    font-size: 1.65rem;
    font-weight: 600;
    color: #103247;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    color: #2a4b65;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
}

.service-features {
    list-style: none;
    margin: 16px 0 20px;
}

.service-features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f405b;
}

.service-features i {
    color: #0077b6;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.btn-service {
    background-color: transparent;
    border: 2px solid #0077b6;
    color: #0077b6;
    padding: 10px 10px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
    margin-top: 8px;
    width: fit-content;
    padding-left: 28px;
    padding-right: 28px;
}

.btn-service:hover {
    background-color: #0077b6;
    color: white;
    cursor: default;  /* because it's a clone, we keep style inert */
}

/* ===== ADDITIONAL SERVICE SECTIONS (to mirror Minehart complexity) ===== */
.specialty-clusters {
    background-color: #f2f7fb;
    border-radius: 60px 60px 0 0;
    padding: 48px 0;
    margin-top: 30px;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    color: #0c3349;
    margin-bottom: 36px;
    position: relative;
    padding-bottom: 12px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: #0077b6;
    border-radius: 2px;
}

.featured-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.featured-item {
    background: white;
    flex: 1 1 240px;
    border-radius: 36px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,50,70,0.05);
}

.featured-item i {
    font-size: 42px;
    color: #0077b6;
    margin-bottom: 18px;
    background: #e1f0fa;
    padding: 18px;
    border-radius: 60px;
}

.featured-item h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #153e58;
}

.featured-item p {
    color: #386481;
}

/* ===== MINEHART PROMISE / MEDICAL CREDENTIALS ===== */
.credentials-bar {
    background: #103247;
    color: white;
    padding: 28px 0;
    margin: 30px 0 0;
}

.credential-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cred-item i {
    font-size: 34px;
    color: #6dc1ff;
}

.cred-item span {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 200px;
}


/* ===== CONTACT / FOOTER ===== */
.contact-bar {
  background: var(--primary);
  color: white;
  padding: 2.5rem 0;
}

.contact-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-flex h3 {
  color: white;
  font-size: 2rem;
}

.contact-info {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}



/* ===== INNOVATION (additional) ===== */
.innovation-strip {
  background: var(--secondary);
  color: white;
  border-radius: 80px 20px 80px 20px;
  padding: 2.5rem 3rem;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.innovation-strip h3 {
  color: white;
  font-size: 2rem;
}

.innovation-strip i {
  font-size: 3rem;
  opacity: 0.7;
}


.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  font-size: 1.8rem;
  color: var(--accent);
}

.footer-bottom {
  background: #0b1e2b;
  color: #b0c9da;
  padding: 1.8rem 0;
  font-size: 0.95rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #d3e4f0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== UTILITIES ===== */
.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--primary);
  padding: 0.6rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.2s;
}

.btn-outline:hover {
  background: var(--secondary);
  color: white;
}

hr {
  border: none;
  border-top: 2px solid var(--border-light);
  margin: 2rem 0;
}

/* responsive tweaks */
@media (max-width: 700px) {
  h1 { font-size: 2.2rem; }
  .header-container { flex-direction: column; gap: 0.8rem; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}

/* responsiveness */
@media (max-width: 800px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
    .nav-links { gap: 18px; flex-wrap: wrap; }
}
@media (max-width: 500px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* dummy active page highlight */
.nav-links li:nth-child(2) a {
    border-bottom-color: #0077b6;
    color: #0077b6;
}
